package com.mes.cloud.dto;

import com.mes.cloud.annotation.ExcelAttribute;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
* 日志管理
* @author zyp
* @Time 2018/07/27 16:00
*/
@Data
public class SysLogDTO extends BaseDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
    * 
    */
    @ExcelAttribute(name = "ID", column = "A")
    private Long id;
    /**
    * 用户ID
    */
    @ExcelAttribute(name = "用户ID", column = "B")
    private String userId;
    /**
    * 操作人姓名
    */
    @ExcelAttribute(name = "操作人姓名", column = "C")
    private String userName;
    /**
    * 操作人工号
    */
    @ExcelAttribute(name = "操作人工号", column = "D")
    private String userCode;
    /**
    * 操作人所属组织
    */
    @ExcelAttribute(name = "操作人所属组织", column = "E")
    private String userOrg;
    /**
    * 操作人职位
    */
    @ExcelAttribute(name = "操作人职位", column = "F")
    private String userPost;
    /**
    * 日志类型(0-正常，1-异常)
    */
    @ExcelAttribute(name = "0-正常/1-异常", column = "G")
    private String type;
    /**
    * 异常信息
    */
    @ExcelAttribute(name = "异常信息", column = "H")
    private String exceptionDetail;
    /**
    * 创建时间
    */
    @ExcelAttribute(name = "创建时间", column = "I")
    private Date crtdate;
    /**
    * 修改时间
    */
    @ExcelAttribute(name = "修改时间", column = "J")
    private Date upddate;
    /**
    * 方法描写
    */
    @ExcelAttribute(name = "方法描写", column = "K")
    private String description;
    /**
    * 删除（0正常，1删除）
    */
    private  Integer isDelete;
    /**
    * 启用禁用（0-启用，1-禁用）
    */
    @ExcelAttribute(name = "0-启用/1-禁用", column = "L")
    private  Integer isEnable;
    /**
    * 异常代码
    */
    @ExcelAttribute(name = "异常代码", column = "M")
    private String exceptionCode;
    /**
    * 请求ip
    */
    @ExcelAttribute(name = "请求ip", column = "N")
    private String requestIp;
    /**
    * 操作方法
    */
    @ExcelAttribute(name = "操作方法", column = "O")
    private String method;
    /**
    * 请求参数
    */
    @ExcelAttribute(name = "请求参数", column = "P")
    private String params;
    }
